#ifndef CJSONVALUE_H
#define CJSONVALUE_H

#include "cjsoncommon.h"

enum CJsonValueType
{
  JV_STRING,
  JV_NUMBER,
  JV_FLOAT,
  JV_OBJECT,
  JV_ARRAY,
  JV_NULL,
  JV_BOOL
};

class CJsonValue
{
private:
  CJsonValueType type;
public:
  LIB_PRE CJsonValue();
  LIB_PRE virtual ~CJsonValue();
  LIB_PRE CJsonValue(CJsonValueType type);
  LIB_PRE virtual jstring ToString() const = 0;
  LIB_PRE CJsonValueType GetType() const;
  LIB_PRE virtual void Clear(){};
};

#endif // CJSONVALUE_H

